<?php

namespace plugins\goods\common;


class GoodsBrowseHook
{
    public function run($uid, $gid)
    {
        $class = "\\plugins\\goods\\model\\GoodsBrowseModel";
        if (class_exists($class) || method_exists($class, 'setBrowseNum')) {
            $FOOT = new $class;
            
            $uid  = $FOOT->setBrowseNum($uid, $gid);
        }
    }
}
